package com.ai.notices.service.impl;

import com.ai.notices.dao.mysql.mapper.LoginLogMapper;
import com.ai.notices.dao.mysql.model.LoginLog;
import com.ai.notices.service.interfaces.ILoginLogSV;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by huangzh on 17/4/17.
 */
@Service
public class LoginLogSVImpl implements ILoginLogSV {

    @Autowired
    private LoginLogMapper loginLogMapper;

    @Override
    public int insertLoginLog(LoginLog loginLog)throws Exception{

        return loginLogMapper.insert(loginLog);
    }
}
